package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;


@ApiModel(value = "财务信息录入实体类")
public class Finance {
@ApiModelProperty(name = "finance_No",notes = "编号，主键",dataType = "Integer")
  private Integer finance_No;
  @ApiModelProperty(name = "finance_Customer",notes = "客户编号",dataType = "Integer")
  private Integer finance_Customer;
  @ApiModelProperty(name = "finance_Order_No",notes = "关联：订单编号，合同号等",dataType = "String")
  private String finance_Order_No;
  @ApiModelProperty(name = "finance_Rae",notes = "收支类型(参照收支类型实体类)",dataType = "Integer")
  private Integer finance_Rae;
  @ApiModelProperty(name = "finance_Rae_Category",notes = "收支类别(参照收支类别实体类)",dataType = "Integer")
  private Integer finance_Rae_Category;
  @ApiModelProperty(name = "finance_Money",notes = "收支金额",dataType = "BigDecimal")
  private BigDecimal finance_Money;
  @ApiModelProperty(name = "finance_Account",notes = "资金账户(参照财务资金账户类别实体类)",dataType = "Integer")
  private Integer finance_Account;
  @ApiModelProperty(name = "finance_State",notes = "状态(0:待审核,1:已审核,2:删除)",dataType = "Integer")
  private Integer finance_State;
  @ApiModelProperty(name = "finance_Date",notes = "收支日期",dataType = "Date")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date finance_Date;
  @ApiModelProperty(name = "finance_Handler",notes = "经办人",dataType = "Integer")
  private Integer finance_Handler;
  @ApiModelProperty(name = "finance_Salesman",notes = "业务员",dataType = "Integer")
  private Integer finance_Salesman;
  @ApiModelProperty(name = "finance_Enclosure",notes = "附件绝对路线",dataType = "String ")
  private String finance_Enclosure;
  @ApiModelProperty(name = "finance_Remarks",notes = "备注",dataType = "String")
  private String finance_Remarks;
  @ApiModelProperty(name = "rae_type",notes = "收支类型实体类",dataType = "json")
  private Rae_Type rae_type;
  @ApiModelProperty(name = "rae_category",notes = "收支类别实体类",dataType = "json")
  private Rae_Category rae_category;
  @ApiModelProperty(name = "capital_account",notes = "账号类别实体类",dataType = "json")
  private Capital_Account capital_account;
  private Integer counts;
  private Customer customer;
  private Contact contact;
  private Employee employee;
  private Finance_Contract finance_contract;
  private Finance_Purchase finance_purchase;
  private Finance_Orders finance_order;

  public Integer getFinance_No() {
    return finance_No;
  }

  public void setFinance_No(Integer finance_No) {
    this.finance_No = finance_No;
  }

  public Integer getFinance_Customer() {
    return finance_Customer;
  }

  public void setFinance_Customer(Integer finance_Customer) {
    this.finance_Customer = finance_Customer;
  }

  public String getFinance_Order_No() {
    return finance_Order_No;
  }

  public void setFinance_Order_No(String finance_Order_No) {
    this.finance_Order_No = finance_Order_No;
  }

  public Integer getFinance_Rae() {
    return finance_Rae;
  }

  public void setFinance_Rae(Integer finance_Rae) {
    this.finance_Rae = finance_Rae;
  }

  public Integer getFinance_Rae_Category() {
    return finance_Rae_Category;
  }

  public void setFinance_Rae_Category(Integer finance_Rae_Category) {
    this.finance_Rae_Category = finance_Rae_Category;
  }

  public BigDecimal getFinance_Money() {
    return finance_Money;
  }

  public void setFinance_Money(BigDecimal finance_Money) {
    this.finance_Money = finance_Money;
  }

  public Integer getFinance_Account() {
    return finance_Account;
  }

  public void setFinance_Account(Integer finance_Account) {
    this.finance_Account = finance_Account;
  }

  public Integer getFinance_State() {
    return finance_State;
  }

  public void setFinance_State(Integer finance_State) {
    this.finance_State = finance_State;
  }

  public Date getFinance_Date() {
    return finance_Date;
  }

  public void setFinance_Date(Date finance_Date) {
    this.finance_Date = finance_Date;
  }

  public Integer getFinance_Handler() {
    return finance_Handler;
  }

  public void setFinance_Handler(Integer finance_Handler) {
    this.finance_Handler = finance_Handler;
  }

  public Integer getFinance_Salesman() {
    return finance_Salesman;
  }

  public void setFinance_Salesman(Integer finance_Salesman) {
    this.finance_Salesman = finance_Salesman;
  }

  public String getFinance_Enclosure() {
    return finance_Enclosure;
  }

  public void setFinance_Enclosure(String finance_Enclosure) {
    this.finance_Enclosure = finance_Enclosure;
  }

  public String getFinance_Remarks() {
    return finance_Remarks;
  }

  public void setFinance_Remarks(String finance_Remarks) {
    this.finance_Remarks = finance_Remarks;
  }

  public Rae_Type getRae_type() {
    return rae_type;
  }

  public void setRae_type(Rae_Type rae_type) {
    this.rae_type = rae_type;
  }

  public Rae_Category getRae_category() {
    return rae_category;
  }

  public void setRae_category(Rae_Category rae_category) {
    this.rae_category = rae_category;
  }

  public Capital_Account getCapital_account() {
    return capital_account;
  }

  public void setCapital_account(Capital_Account capital_account) {
    this.capital_account = capital_account;
  }

  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }

  public Contact getContact() {
    return contact;
  }

  public void setContact(Contact contact) {
    this.contact = contact;
  }

  public Employee getEmployee() {
    return employee;
  }

  public void setEmployee(Employee employee) {
    this.employee = employee;
  }

  public Finance_Contract getFinance_contract() {
    return finance_contract;
  }

  public void setFinance_contract(Finance_Contract finance_contract) {
    this.finance_contract = finance_contract;
  }

  public Finance_Purchase getFinance_purchase() {
    return finance_purchase;
  }

  public void setFinance_purchase(Finance_Purchase finance_purchase) {
    this.finance_purchase = finance_purchase;
  }

  public Finance_Orders getFinance_order() {
    return finance_order;
  }

  public void setFinance_order(Finance_Orders finance_order) {
    this.finance_order = finance_order;
  }

  public Integer getCounts() {
    return counts;
  }

  public void setCounts(Integer counts) {
    this.counts = counts;
  }

  @Override
  public String toString() {
    return "Finance{" +
            "finance_No=" + finance_No +
            ", finance_Customer=" + finance_Customer +
            ", finance_Order_No='" + finance_Order_No + '\'' +
            ", finance_Rae=" + finance_Rae +
            ", finance_Rae_Category=" + finance_Rae_Category +
            ", finance_Money=" + finance_Money +
            ", finance_Account=" + finance_Account +
            ", finance_State=" + finance_State +
            ", finance_Date=" + finance_Date +
            ", finance_Handler=" + finance_Handler +
            ", finance_Salesman=" + finance_Salesman +
            ", finance_Enclosure='" + finance_Enclosure + '\'' +
            ", finance_Remarks='" + finance_Remarks + '\'' +
            ", rae_type=" + rae_type +
            ", rae_category=" + rae_category +
            ", capital_account=" + capital_account +
            ", counts=" + counts +
            ", customer=" + customer +
            ", contact=" + contact +
            ", employee=" + employee +
            ", finance_contract=" + finance_contract +
            ", finance_purchase=" + finance_purchase +
            ", finance_order=" + finance_order +
            '}';
  }
}
